cmake_minimum_required(VERSION 3.15)
project(pbrt_remake)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_BUILD_TYPE Debug)

find_package (glog REQUIRED)
add_executable(main)
file(GLOB_RECURSE sources CONFIGURE_DEPENDS src/*.cpp src/*.h)
list(APPEND sources "main.cpp")
target_sources(main PUBLIC ${sources})
target_link_libraries(main PUBLIC glog::glog)